package com.tengju.user.domain.service;

import com.tengju.user.domain.model.department.DepartmentTree;
import com.tengju.user.domain.model.user.SsoUserId;
import com.tengju.user.domain.model.user.StaffInfo;
import com.tengju.user.domain.model.user.StaffSimpleInfo;

import java.util.List;

/**
 * @Author: 李大仙
 * @Date: 2021/4/20 3:52 下午
 */
public interface DepartmentExternalService {

    List<DepartmentTree> getDepartmentTree();

    List<SsoUserId> getSaleDepartmentUserId();

    List<StaffSimpleInfo> getStaffSimpleInfosByDepartmentId(Long departmentId);

    List<StaffSimpleInfo> getStaffSimpleInfosByDepartmentIds(List<Long> departmentIdList);

    List<StaffSimpleInfo> getStaffSimpleInfosByDepartmentIdAndName(Long departmentId, String name);

    StaffSimpleInfo getStaffSimpleInfoBySsoUserId(SsoUserId ssoUserId);

    List<StaffInfo> getStaffInfos(List<SsoUserId> ssoUserIdList);

    Boolean checkStaffInfo(SsoUserId ssoUserId);
}
